/**
 * 用户登录相关接口
 * */

const Router = require("express");
const router = new Router();

// 引入业务逻辑代码
const loginDis = require("../../../business/client/loginDis");

// 微信授权
router.post("/wechat_login", (req, res) => {
    loginDis.weChatLogin(req, res);
})

// 登录
router.post("/", (req, res) => {
    loginDis.login(req, res);
})


module.exports = () => {
  return router
}